home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-07-12 | 1.5 KB | 49 lines |
- XCOMM $XConsortium: Imakefile,v 1.8 94/03/29 15:54:11 gildea Exp $
- #if UseCCMakeDepend
- MDEP_PROG = makedepend
- #endif
- PROGRAMS = xmkmf $(MDEP_PROG) mergelib
- DEPLIBS =
- EXTRA_LIBRARIES =
-
- all:: $(PROGRAMS)
-
- CppScriptTarget(xmkmf,xmkmf.cpp,-DCONFIGDIRSPEC='"'"-I$(CONFIGDIR)"'"',$(ICONFIGFILES))
- CppScriptTarget(makedepend,mdepend.cpp,-DPREPROC='"'"$(PREPROCESSCMD)"'"',$(ICONFIGFILES))
- CppScriptTarget(mergelib,mergelib.cpp,"-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)",$(ICONFIGFILES))
-
- #if HasSymLinks
- #if CrossCompiling
- SimpleHostProgramTarget(lndir)
- #else
- SimpleProgramTarget(lndir)
- #endif
- #endif
-
- XCOMM The X11 utilities are already present on most systems that have
- XCOMM X11 installed. We'll still build the utilities in case they're
- XCOMM needed while building Fresco, but we'll install only one of
- XCOMM them: xmkmf, which will look for the installed Fresco config
- XCOMM files rather than the installed X11 config files. We will
- XCOMM rename xmkmf to fmkmf when we install it to avoid blowing away
- XCOMM any installed xmkmf.
-
- InstallNamedProg(xmkmf,fmkmf,$(BINDIR))
-
- #if 0 /* All of these are probably already installed */
-
- InstallNamedProg(xmkmf,xmkmf,$(BINDIR))
- InstallManPage(xmkmf,$(MANDIR))
- InstallNamedProg(mkdirhier.sh,mkdirhier,$(BINDIR))
- InstallManPage(mkdirhier,$(MANDIR))
- #if UseCCMakeDepend
- InstallNamedProg(makedepend,makedepend,$(BINDIR))
- #endif
- #if SystemV || SystemV4
- InstallNamedProg(bsdinst.sh,bsdinst,$(BINDIR))
- InstallNamedProg(lninst.sh,lninst,$(BINDIR))
- #endif
- InstallNamedProg(mergelib,mergelib,$(BINDIR))
-
- #endif
-